home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / clesson / clesson.dir / 00028.ls < prev    next >
Encoding:
Text File  |  1995-04-04  |  513 b   |  18 lines

  1. on exitFrame
  2.   puppetSprite(18, 1)
  3.   puppetSprite(19, 1)
  4.   set the immediate of sprite 18 to 1
  5.   set the immediate of sprite 19 to 1
  6.   if rollOver(10) = 1 then
  7.     set the castNum of sprite 18 to the number of cast "paper13.pcx"
  8.   else
  9.     set the castNum of sprite 18 to the number of cast "blank1.pcx"
  10.   end if
  11.   if rollOver(11) = 1 then
  12.     set the castNum of sprite 19 to the number of cast "paper14.pcx"
  13.   else
  14.     set the castNum of sprite 19 to the number of cast "blank2.pcx"
  15.   end if
  16.   go(the frame)
  17. end
  18.